package com.zyq.model.entity;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 个人消息实体类
 * @author: zyq
 * @create: 2022-03-02
 **/
@ApiOperation(value = "个人消息")
@Data
@Accessors(chain = true)
public class Message {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("消息")
    private String detail;

    @ApiModelProperty("对象id")
    private Long aId;

    @ApiModelProperty("操作实体ID")
    private Long bId;

    @ApiModelProperty("消息状态，0：已读 1：未读")
    private Long status;
}
